package rmaqlc31.basic;

import java.util.Scanner;

public class J03_GuGuDan {

	public static void main(String[] args) {
		
		
		Scanner sc = null;
		int a;
		
			
		sc = new Scanner(System.in);
		
		System.out.println(" 숫자를 입력하세요(1~9) : ");
	    a = sc.nextInt();
	    
	    
	    sc.close();
		
		if(a>=1&&a<=9){System.out.println(a+" x 1 = "+(a*1));
					   System.out.println(a+" x 2 = "+(a*2));
					   System.out.println(a+" x 3 = "+(a*3));
					   System.out.println(a+" x 4 = "+(a*4));
					   System.out.println(a+" x 5 = "+(a*5));
					   System.out.println(a+" x 6 = "+(a*6));
					   System.out.println(a+" x 7 = "+(a*7));
					   System.out.println(a+" x 8 = "+(a*8));
					   System.out.println(a+" x 9 = "+(a*9));}
		else{System.out.println(" 잘못 입력하셨습니다. ");}

	}

}
